<?php
class Portfoliomanager_Data_Updateportfoliocontentvalue implements Portfoliomanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "UPDATE portfolio_content_values SET portfolio_content_values.item_title = '".$variables['post']['item_title']."', portfolio_content_values.item_description = '".$variables['post']['item_content']."', portfolio_content_values.item_image = '".$variables['post']['item_image']."' WHERE portfolio_content_values.item_name = '".$variables['post']['item_name']."';";
        return $this->core_controller_dataoperation->main($variables);
    }
}
